define(function(){
	return {
		container:'<table id="Js-container" class="picture-container">\
            <tr><td class="picture-list"><ul id="Js-picture-list" class=" ztree"></ul></td>\
            <td id="Js-picture-body" class="picture-body"></td>\
        </tr></table>',
        contextmenu:'  <ul id="Js-picture-contextmenu" class="dropdown-menu" style="left:<%clientX%>px;top:<%clientY%>px;display:block;">\
            <li><a id="Js-picture-addCate" href="javascript:;">创建目录</a></li>\
            <%if(isUpload){%>\
                <li>\
                <input class="picture-upload" name="file" type="file" wx-upload="/web/upload.action" wx-upload-param="type=1&online=1" wx-upload-mult>\
                <a id="Js-picture-upload" href="javascript:;">上传图片</a>\
                </li>\
            <%}%>\
        </ul>',
        pictureLoading:'<div class="picture-show"><img src="/res/images/loading.gif"/></div>',
        picture:'<div class="picture-show" style="width:<%containerW%>px"><img id="Js-picture-show" src="<%path%>"/>\
            <div class="picture-info"><%w%>&nbsp;X&nbsp; <%h%>\
                <img title="复制图片地址" id="Js-copy" src="/res/images/copy.png" data-src="<%path%>">\
                <img title="替换图片" src="/res/images/replace.jpg">\
                <input id="Js-replace" class="picture-upload-replace" name="file" type="file" wx-upload="/web/upload.action" wx-upload-param="type=1&online=1&filename=<%path%>">\
            </div>\
            <div class="picture-info-path"><%path%></div>\
            </div>',
        picGrounp:'<div class="grid">\
            <%for(var i=0;i<result.length;i++){%>\
                <div class="grid-item" title="<%result[i].name%>"><i title="拷贝地址" data-src="<%result[i].content%>"></i><img src="<%result[i].content%>"/></div>\
            <%}%>\
            </div>'
	}
});